<div class="posts-list category-index">
	<div class="holder">
		<div class="col col-1">
			<h1><?php __('Blog categories');?></h1>
			<ul class="categorylist">
			<?php foreach ($categories as $category):?>
			<li><?php echo $html->link($category['Category']['title'], array('action'=>'index', $category['Category']['slug'])); ?> <?php if(isset($category['Post'])):?>(<?php echo count($category['Post']); ?>)<?php endif;?></li>
			<?php endforeach; ?>
			</ul>
		</div>
		<?php echo $this->element('sidebar'); ?>
	</div>
</div>
